
Partial Class Secure_Reports_Default
    Inherits System.Web.UI.Page

    Protected Sub TreeView1_SelectedNodeChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TreeView1.SelectedNodeChanged
        If TreeView1.SelectedNode.ValuePath.Contains("/") Then
            ifReport.Attributes("scrolling") = "no"
            ifReport.Attributes("src") = "Report.aspx?reportName=" & TreeView1.SelectedNode.Value
        Else
            If TreeView1.SelectedNode.Value = "Crystal Report" Then
                ifReport.Attributes("scrolling") = "yes"
                ifReport.Attributes("src") = "CrystalReport.aspx?QuestionnaireID=1"
            End If
        End If
    End Sub

End Class
